package com.ruoyi.zhgd.service;

import com.ruoyi.zhgd.domain.vo.NLaboratoryMarshallStabilityVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryMarshallStabilityBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 马歇尔试验Service接口
 *
 * @author zyb
 * @date 2023-09-11
 */
public interface INLaboratoryMarshallStabilityService {

    /**
     * 查询马歇尔试验
     */
    NLaboratoryMarshallStabilityVo queryById(String id);

    /**
     * 查询马歇尔试验列表
     */
    TableDataInfo<NLaboratoryMarshallStabilityVo> queryPageList(NLaboratoryMarshallStabilityBo bo, PageQuery pageQuery);

    /**
     * 查询马歇尔试验列表
     */
    List<NLaboratoryMarshallStabilityVo> queryList(NLaboratoryMarshallStabilityBo bo);

    /**
     * 新增马歇尔试验
     */
    Boolean insertByBo(NLaboratoryMarshallStabilityBo bo);

    /**
     * 修改马歇尔试验
     */
    Boolean updateByBo(NLaboratoryMarshallStabilityBo bo);

    /**
     * 校验并批量删除马歇尔试验信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
